package com.ruoyi.project.his.service.impl;

import com.ruoyi.project.his.domain.DoctorProjectFee;
import com.ruoyi.project.his.mapper.DoctorProjectFeeMapper;
import com.ruoyi.project.his.service.IDoctorProjectFeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Classname DoctorProjectFeeServiceImpl
 * @Description
 * @Date 2022/6/27 19:14
 * @Author Lee
 */
@Service
public class DoctorProjectFeeServiceImpl implements IDoctorProjectFeeService {
    @Autowired
    private DoctorProjectFeeMapper projectFeeMapper;
    @Override
    public List<DoctorProjectFee> selectDoctorProjectFeeList(DoctorProjectFee doctorProjectFee) {
        return projectFeeMapper.selectDoctorProjectFeeList(doctorProjectFee);
    }

    @Override
    public DoctorProjectFee selectDoctorProjectFeeById(Integer projectId) {
        return projectFeeMapper.selectDoctorProjectFeeById(projectId);
    }

    @Override
    public int insertDoctorProjectFee(DoctorProjectFee doctorProjectFee) {
        return projectFeeMapper.insertDoctorProjectFee(doctorProjectFee);
    }

    @Override
    public int updateDoctorProjectFee(DoctorProjectFee doctorProjectFee) {
        return projectFeeMapper.updateDoctorProjectFee(doctorProjectFee);
    }

    @Override
    public int batchDeleteByProjectIds(Integer[] ids) {
        return projectFeeMapper.batchDeleteByProjectIds(ids);
    }
}
